package com.sandwich.admin.apibean;

import com.sandwich.admin.apibean.ContentSummaryRequest;

public class ContentSummaryJson {
    private String titile;
    private long categoryPk;
    private String categoryName;
    private int type;
    private String area;
    private String averagePrice;
    private String coverUrl;

    public ContentSummaryJson() {
    }

    public ContentSummaryJson(ContentSummaryRequest request) {
        this.titile = request.getTitile();
        this.categoryPk = request.getCategoryPk();
        this.categoryName = request.getCategoryName();
        this.type = request.getType();
        this.area = request.getArea();
        this.averagePrice = request.getAveragePrice();
        this.coverUrl = request.getCoverUrl();
    }

    public String getCoverUrl() {
        return coverUrl;
    }

    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl;
    }


    public String getTitile() {
        return titile;
    }

    public void setTitile(String titile) {
        this.titile = titile;
    }

    public long getCategoryPk() {
        return categoryPk;
    }

    public void setCategoryPk(long categoryPk) {
        this.categoryPk = categoryPk;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAveragePrice() {
        return averagePrice;
    }

    public void setAveragePrice(String averagePrice) {
        this.averagePrice = averagePrice;
    }
}
